<!DOCTYPE html>
<html lang="en"  xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
</head>
<body>
<form action="doLogin" method="post">
    <input type="text" name="username"><br/>
    <input type="password" name="password"><br/>
    <div th:text="${error}"></div>
    <input type="submit" value="登录">
</form>
</body>
</html>